#pragma once
namespace Simulation {
	class TimeManager
	{
	private:
		double time;
		static TimeManager* current;
		double h;

	public:
		TimeManager();
		~TimeManager();

		// Singleton
		static TimeManager* getCurrent();
		static void setCurrent(TimeManager* tm);
		static bool hasCurrent();

		double getTime();
		void setTime(double t);
		double getTimeStepSize();
		void setTimeStepSize(double tss);
	};
}


